class CreateNeurons < ActiveRecord::Migration
  def self.up
    create_table :neurons do |t|
      t.integer :id
      t.integer :neuron_type_id
      t.integer :memory_type
      t.boolean :masive
      t.text :data
    end

    create_table :neuron_types do |t|
      t.integer :id
      t.string :name
      t.text :description
    end
  end

  def self.down
    drop_table :neurons
    drop_table :neuron_types
  end
end
